I/O-Efficient Algorithms for Computing Contour Maps on Terrains

نویسندگان

  • Pankaj K. Agarwal
  • Lars Arge
  • Thomas Mølhave
  • Bardia Sadri
چکیده

A terrain M is the graph of a continuous bivariate function. We assume that M is represented as a triangulated surface with N vertices. A contour (or isoline) of M is a connected component of a level set of M. Generically, each contour is a closed polygonal curve; at “critical” levels these curves may touch each other or collapse to points. We present I/O-efficient algorithms for the following two problems related to computing contours of M: (i) Given a sequence `1 < · · · < `s of real numbers, we present an I/O-optimal algorithm that reports all contours of M at heights `1, . . . , `s using O(sort(N) + T/B) I/Os, where T is the total number of edges in the output contours, B is the “block size,” and sort(N) is the number of I/Os needed to sort N elements. The algorithm uses O(N/B) disk blocks. Each contour is generated individually with its composing segments sorted in clockwise or counterclockwise order. Moreover, our algorithm generates information on how the contours are nested. (ii) We can preprocess M, using O(sort(N)) I/Os, into a linear-size data structure so that all contours at a given height can be reported using O(logB N + T/B) I/Os, where T is the output size. Each contour is generated individually with its composing segments sorted in clockwise or counterclockwise order. ∗Supported by NSF under grants CNS-05-40347, CFF-06-35000, and DEB-04-25465, by ARO grants W911NF-041-0278 and W911NF-07-1-0376, by an NIH grant 1P50-GM-08183-01, by a DOE grant OEG-P200A070505, and by a grant from the U.S.–Israel Binational Science Foundation. Supported by NSF under grants EIA-01-31905, CCR02-04118, and DEB-04-25465, by an ARO grant W911NF-04-1-0278, and by a grant from the U.S.–Israel Binational Science Foundation. †Supported in part by the US Army Research Office through grant W911NF-04-01-0278, by an Ole Roemer Scholarship from the Danish National Science Research Council, a NABIIT grant from the Danish Strategic Research Council, and by the Danish National Research Foundation. ‡Center for Massive Data Algorithmics — a Center of the Danish National Research Foundation. §Supported in part by an Ole Roemer Scholarship from the Danish National Science Research Council, a NABIIT grant from the Danish Strategic Research Council, and by the Danish National Research Foundation. ¶Work performed primarily when this author was at Duke University and supported by NSF under grants CNS05-40347, CFF-06-35000, and DEB-04-25465, by ARO grants W911NF-04-1-0278 and W911NF-07-1-0376, by an NIH grant 1P50-GM-08183-01, by a DOE grant OEG-P200A070505, and by a grant from the U.S.–Israel Binational Science Foundation. Supported by NSF under grants EIA-01-31905, CCR-02-04118, and DEB-04-25465, by an ARO grant W911NF-04-1-0278, and by a grant from the U.S.–Israel Binational Science Foundation.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Efficient contour line labelling for terrain modelling

Terrains are an essential part of outdoor environments. Terrain models are important for computer games and applications in architecture, urban design and archaeology. A popular and intuitive way to represent terrains is by contour maps. In order to render such representations in 3D the contours must be labelled with height values and converted to Digital Elevation Maps (DEM), which are regular...

متن کامل

I/O-Efficient Flow Modeling on Fat Terrains

We study the flow of water on fat terrains, that is, triangulated terrains where the minimum angle of any triangle is bounded from below by a positive constant. We show that the worstcase complexity of any path of steepest descent on a fat terrain of n triangles is Θ(n), and that the worst-case complexity of the river network on such terrains is Θ(n). This improves the corresponding bounds for ...

متن کامل

The complexity of flow on fat terrains and its i/o-efficient computation

We study the complexity and the I/O-efficient computation of flow on triangulated terrains. We present an acyclic graph, the descent graph, that enables us to trace flow paths in triangulations i/o-efficiently. We use the descent graph to obtain i/o-efficient algorithms for computing river networks and watershed-area maps in O(Sort(d + r)) i/o’s, where r is the complexity of the river network a...

متن کامل

Improvised Interpolation of Contour Lines Using Spider Weaving Approach

Geographically contours are virtual lines drawn across the terrain to join points that are at same elevation from certain reference point. Contours are essential morphological features that are used along with the associated elevation as basis for generating Terrain Model or Digital Elevation Model for the area of interest. These lines are represented at different scales depending upon the scal...

متن کامل

Efficient Approximation Algorithms for Point-set Diameter in Higher Dimensions

We study the problem of computing the diameter of a  set of $n$ points in $d$-dimensional Euclidean space for a fixed dimension $d$, and propose a new $(1+varepsilon)$-approximation algorithm with $O(n+ 1/varepsilon^{d-1})$ time and $O(n)$ space, where $0 < varepsilonleqslant 1$. We also show that the proposed algorithm can be modified to a $(1+O(varepsilon))$-approximation algorithm with $O(n+...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2010